projects
/
emacs.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
8a5dd08
)
(Finsert_file_contents): Pass del_range_1 two ends, not a length.
author
Richard M. Stallman
<rms@gnu.org>
Fri, 4 Mar 1994 04:19:14 +0000
(
04:19
+0000)
committer
Richard M. Stallman
<rms@gnu.org>
Fri, 4 Mar 1994 04:19:14 +0000
(
04:19
+0000)
src/fileio.c
patch
|
blob
|
history
diff --git
a/src/fileio.c
b/src/fileio.c
index 3b1513600e28e52d66d15c5753c7a393b980886e..e24dca08306892a10d4b8acb3f2140a2dd6549b7 100644
(file)
--- a/
src/fileio.c
+++ b/
src/fileio.c
@@
-2681,7
+2681,7
@@
and (2) it puts less data in the undo list.")
/* Arrange to read only the nonmatching middle part of the file. */
XFASTINT (beg) = same_at_start - BEGV;
XFASTINT (end) = st.st_size - (ZV - same_at_end);
- del_range_1 (same_at_start, same_at_end
- same_at_start
, 0);
+ del_range_1 (same_at_start, same_at_end, 0);
/* Insert from the file at the proper position. */
SET_PT (same_at_start);
}